package builder;

import java.util.*;
import java.text.*;
import java.io.*;
import java.io.IOException;

public class VertexGeometric {

    public float x = 0;
    public float y = 0;
    public float z = 0;

    public VertexGeometric(float x, float y, float z) {
        this.x = x;
        this.y = y;
        this.z = z;
    }

    public String toString() {
        if (null == this) {
            return "null";
        } else {
            return x + "," + y + "," + z;
        }
    }
    public float[] toFloat() {
        float[] ret = new float[3];
        ret[0] = x;
        ret[1] = y;
        ret[2] = z;
        return ret;
    }
}